package com.yyc.stocktake.bean.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.yyc.stocktake.api.ApiService

/**
 * @Author nike
 * @Date 2023/7/28 10:22
 * @Description
 */
@Entity
open class ConfigBean {

    @PrimaryKey(autoGenerate = true)//自增长
    var uid: Int = 0

    @ColumnInfo(name = "loginId")
    var loginId: String = ""

    @ColumnInfo(name = "password")
    var password: String = ""

    @ColumnInfo(name = "language")
    var language: String = ""

    @ColumnInfo(name = "httpUrl")
    var httpUrl: String = ApiService.SERVLET_URL

    @ColumnInfo(name = "companyId")
    var companyId: String = "RFIDInventory_V2.0.0"

    @ColumnInfo(name = "rfidPower")
    var rfidPower: Int = 32

    @ColumnInfo(name = "otherPower")
    var otherPower: Int = 32

    @ColumnInfo(name = "powerType")
    var powerType: Int = 0//0RFID  1寻找

}